const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6IjQwMjhhMDlkOTZlY2ZiZDIwMTk2ZjA3ZTMzNzEwMDljIiwidXNlcl9uYW1lIjoiamlubHRhbyIsInNjb3BlIjpbInJlYWQiXSwibW9iaWxlIjpmYWxzZSwiaXNBZG1pbiI6dHJ1ZSwiZXhwIjoxNzQ4MjUyOTkxLCJpc0FwcEFkbWluIjpmYWxzZSwiYXV0aG9yaXRpZXMiOlsiVVNFUiIsIkFVVEhfU1lTVEVNX01BTkFHRSJdLCJqdGkiOiI1OTZjYmQzZC1hOWM5LTRjODItYjlmMS1lNjA2NTc2NTBkNDAiLCJjbGllbnRfaWQiOiJhcGkifQ.RC2rYg8bm8XeL8gPoZOpeZwKhUVpARzxRypeV3A-Hhmkm1mxsz67GIMuGT5rYhbGDbK5anR7Dq1s76IxWAg9xFsPdFhIUY3Qnkg53mOmT0RASbVKmPBmr1omxQHNYRWrvDpj7kw6TVADysKcAUt7jXUIWynPg7UCkz4BZCFRVKo'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
